package com.bcxk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bcxk.entity.dto.Homestay;
import com.bcxk.entity.po.MinSuPo;
import com.bcxk.entity.vo.MinSuVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HomeStayMapper extends BaseMapper<Homestay> {
    IPage<MinSuVo> getMinSuListByName(Page<MinSuVo> page, @Param("destName") String destName);

    MinSuPo getMinSuByMinSuId(@Param("minsuId") Long minsuId);
}
